@import url('../../home/lib/bootstrap/css/bootstrap.min.css');
@import url('../../../static/font-awesome/css/font-awesome.css');
@import url('../../home/lib/animate/animate.min.css');
@import url('../../../static/swiper/swiper-bundle.css');
@import url('../../../static/layui/css/layui.css');

/*--------------------------------------------------------------
    Fonts
--------------------------------------------------------------*/

/*--------------------------------------------------------------
    General
--------------------------------------------------------------*/
:root{
    --primary-color: #006DB8;
    --secondary-color: #D02127;
}

body {
    background: #FFF;
    font-size: 15px;
}

a{
    color: #202020;
    transition: all 0.5s;
}

a:hover,
a:active,
a:focus {
    color: var(--primary-color);
    outline: none;
    text-decoration: none;
}

section{
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.section-title,
.section-subtitle,
.section-intro{
    margin: 0;
    padding: 0;
}

.section-title{
    font-size: 40px;
}

.section-subtitle{
    font-size: 30px;
}

.section-intro{
    font-size: 20px;
}

.text-primary{
    color: var(--primary-color);
}

.text-secondary{
    color: var(--secondary-color);
}

.bg-primary{
    background-color: var(--primary-color);
}

.bg-secondary{
    background-color: var(--secondary-color);
}

.bg-white{
    background-color: #FFF;
}

.img{
    position: relative;
    width: 100%;
    height: 0;
    overflow: hidden;
    padding-bottom: 100%;
}

.img img{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: block;
}

.warp{
    margin: 1rem;
    padding: 1rem;
    transition: all 0.5s;
}

.warp:hover{
    box-shadow: 0 0 2px 2px rgba(114,114,114,0.5);
}

.warp .img{
    padding-bottom: 100%;
}

.article table,
.article img{
    max-width: 100%;
}

/*--------------------------------------------------------------
# Pagination
--------------------------------------------------------------*/
.pagination p{
    margin:0;
    cursor:pointer
}

.pagination{
    justify-content:center;
    display: flex;
    padding-top: 2rem;
    padding-bottom: 0;
}

.pagination a{
    display:block;
    float:left;
    margin-right:10px;
    padding:2px 12px;
    height:40px;
    width: 40px;
    background:#FFF;
    text-decoration:none;
    color:#808080;
    font-size:15px;
    line-height:38px;
    position: relative;
}

.pagination a:hover{
    color:#FFF;
    background: var(--primary-color);
}

.pagination a.cur{
    border:none;
    background:var(--primary-color);
    color:#FFF;
}

.pagination a .fa{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}

.pagination p{
    float:left;
    padding:2px 12px;
    font-size:12px;
    height:24px;
    line-height:24px;
    color:#bbb;
    border:1px #CCC solid;
    background:#FCFCFC;
    margin-right:8px;
}

.pagination p.pageRemark{
    border-style:none;
    background:none;
    margin-right:0;
    padding:4px 0;
    color:#666;
}

.pagination p.pageRemark b{
    color:red;
}

.pagination p.pageEllipsis{
    border-style:none;
    background:none;
    padding:4px 0;
    color:#808080;
}

/*--------------------------------------------------------------
# placeholderBox
--------------------------------------------------------------*/
#placeholderBox{
    height: 110px;/*高度要和#header一致*/
}

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
    position: fixed;
    display: none;
    background: var(--primary-color);
    color: #fff;
    width: 44px;
    height: 44px;
    text-align: center;
    line-height: 1;
    font-size: 16px;
    border-radius: 50%;
    right: 15px;
    bottom: 15px;
    transition: background 0.5s;
    z-index: 11;
}

.back-to-top i {
    padding-top: 12px;
    color: #FFF;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header{
    background-color: #FFF;
    z-index: 999;
    padding: 20px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    transition: all 0.5s;
    box-shadow: 0 0 5px 2px rgba(167,167,167,0.5);
}

#header .container{
    display: flex;
    justify-content: space-between;
}

/*--------------------------------------------------------------
# Top Navigation Menu
--------------------------------------------------------------*/
.main-nav{
    display: none;
}
.main-nav,
.main-nav * {
    margin: 0;
    padding: 0;
    list-style: none;
}

.main-nav > ul > li {
    position: relative;
    white-space: nowrap;
    float: left;
    height: 70px;
    line-height: 70px;
}

.main-nav > ul > li.drop-down > a{
    line-height: 70px;
}

.main-nav a {
    display: block;
    position: relative;
    color: #202020;
    padding: 0 35px;
    transition: 0.5s;
}

.main-nav a:hover,
.main-nav .active > a,
.main-nav li:hover > a {
    color: var(--primary-color);
    text-decoration: none;
}

.main-nav .drop-down ul {
    display: block;
    position: absolute;
    left: 0;
    top: calc(100% + 30px);
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    padding: 10px 0;
    background: #FFF;
    box-shadow: 0 0 30px rgba(127, 137, 161, 0.25);
    transition: ease all 0.3s;
}

.main-nav .drop-down:hover > ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
}

.main-nav .drop-down li {
    height: 50px;
    line-height: 50px;
    min-width: 180px;
    position: relative;
}

.main-nav .drop-down ul a {
    padding: 0 20px;
    font-size: 14px;
    font-weight: 500;
    text-transform: none;
    color: #000;
}

.main-nav .drop-down ul a:hover,
.main-nav .drop-down ul .active > a,
.main-nav .drop-down ul li:hover > a {
    color: var(--primary-color);
}

.main-nav .drop-down > a:after {
    content: "\f107";
    font-family: FontAwesome;
    padding-left: 10px;
}

.main-nav .drop-down .drop-down ul {
    top: 0;
    left: calc(100% - 30px);
}

.main-nav .drop-down .drop-down:hover > ul {
    opacity: 1;
    top: 0;
    left: 100%;
}

.main-nav .drop-down .drop-down > a {
    padding-right: 35px;
}

.main-nav .drop-down .drop-down > a:after {
    content: "\f105";
    position: absolute;
    right: 15px;
}

/* Mobile Navigation */

.mobile-nav {
    position: fixed;
    top: 0;
    bottom: 0;
    z-index: 9999;
    overflow-y: auto;
    left: -260px;
    width: 260px;
    padding-top: 18px;
    background: rgba(40, 38, 70, 0.8);
    transition: 0.4s;
}

.mobile-nav * {
    margin: 0;
    padding: 0;
    list-style: none;
}

.mobile-nav a {
    display: block;
    position: relative;
    color: #fff;
    padding: 10px 20px;
    font-weight: 500;
}

.mobile-nav a:hover,
.mobile-nav .active > a,
.mobile-nav li:hover > a {
    color: #8dc2fa;
    text-decoration: none;
}

.mobile-nav .drop-down > a:after {
    content: "\f078";
    font-family: FontAwesome;
    padding-left: 10px;
    position: absolute;
    right: 15px;
}

.mobile-nav .active.drop-down > a:after {
    content: "\f077";
}

.mobile-nav .drop-down > a {
    padding-right: 35px;
}

.mobile-nav .drop-down ul {
    display: none;
    overflow: hidden;
}

.mobile-nav .drop-down li {
    padding-left: 20px;
}

.mobile-nav-toggle {
    display: block;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 9998;
    border: 0;
    background: none;
    font-size: 24px;
    transition: all 0.4s;
    outline: none !important;
    line-height: 1;
    cursor: pointer;
    text-align: right;
}

.mobile-nav-toggle i {
    margin: 18px 18px 0 0;
    color: var(--primary-color);
}

.mobile-nav-overly {
    width: 100%;
    height: 100%;
    z-index: 9997;
    top: 0;
    left: 0;
    position: fixed;
    background: rgba(40, 38, 70, 0.8);
    overflow: hidden;
    display: none;
}

.mobile-nav-active {
    overflow: hidden;
}

.mobile-nav-active .mobile-nav {
    left: 0;
}

.mobile-nav-active .mobile-nav-toggle i {
    color: #fff;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.footer{
    padding-top: 3rem;
    padding-bottom: 3rem;
    background-color: #202020;
    color: #FFF;
}

.footer h3{
    font-size: 25px;
}

.footer ul{
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.footer ul li{
    padding: 5px 0;
}

/* Main Footer */
.main-footer{
    display: none;
}

/* Mobile Footer */
.mobile-footer{
    padding-top: 1rem;
    padding-bottom: 1rem;
    display: block;
}

.mobile-footer .panel-heading{
    display: flex;
    justify-content:space-between;
    align-items: center;
}

.mobile-footer .panel-heading:after{
    content: "＋";
    color: #FFF;
    right: 25px;
    font-size: 20px;
}

.mobile-footer .panel-heading.active:after{
    content: '－' !important;
}

.mobile-footer .panel-heading .panel-title{
    font-size: 20px;
    padding: 10px 0;
}

/*--------------------------------------------------------------
# Section Banner
--------------------------------------------------------------*/
.banner{
    position: relative;
    padding: 0;
}

.banner.mobile{
    display: none;
}

.banner .img{
    padding-bottom: 19.8%;
}

.banner.mobile .img{
    padding-bottom: 48%;
}

/*--------------------------------------------------------------
# Index Carousel
--------------------------------------------------------------*/
.index-carousel{
    padding: 0;
}

.index-carousel .img{
    padding-bottom: 33.3%;
}

.btn-prev,
.btn-next{
    width: 50px;
    height: 50px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 50%;
    background-color: #FFF;
    cursor: pointer;
    z-index: 999;
    transition: all 0.5s;
    box-shadow: 0 0 2px 2px rgba(114,114,114,0.5);
}

.btn-prev i,
.btn-next i{
    font-size: 25px;
    position: absolute;
    top: 50%;
    transform: translate(-50%,-50%);
}

.btn-prev i{
    left: 48%;
}

.btn-next i{
    left: 52%;
}

.btn-prev:hover,
.btn-next:hover{
    background-color: var(--primary-color);
}

.btn-prev:hover i,
.btn-next:hover i{
    color: #FFF;
}

/*------------------------------------------------------------------
    FAQ
------------------------------------------------------------------*/
.faq-list{
    list-style: none;
    font-size: 20px;
    text-align: left;
    padding: 0;
}

.faq-list li{
    margin-bottom: 1rem;
    background-color: var(--primary-color);
}

.faq-list .question{
    position: relative;
    color: #FFF;
    padding: 1rem 2rem;
}

.faq-list .collapsed .question::after{
    content: '\f107';
    font-family: FontAwesome;
    transform: rotate(0);
}

.faq-list .question::after{
    content: '\f107';
    font-family: FontAwesome;
    position: absolute;
    top: 13px;
    right: 2rem;
    font-size: 25px;
    transition: all 0.5s;
    transform: rotate(180deg);
}

.faq-list .answer{
    background-color: #FFF;
    padding: 10px 2rem;
    font-size: 15px;
}

.faq .more-btn{
    background-color: var(--primary-color);
    border: none;
    color: #FFF;
    padding: 5px 30px;
    font-size: 18px;
}

.faq-list .show-more{
    margin-top: 2rem;
    text-align: center;
}

@media (min-width: 768px) {
    .section-title{
        font-size: 35px;
    }

    .section-subtitle{
        font-size: 25px;
    }

    .section-intro{
        font-size: 15px;
    }

    #placeholderBox{
        height: 70px;
    }

    #header{
        height: 70px;
        padding: 10px 0;
    }

    #header .logo img{
        max-height: 50px;
    }

    .btn-prev{
        left: 30px;
    }

    .btn-next{
        right: 30px;
    }
}

@media (min-width: 992px) {

}

@media (min-width: 1200px) {
    .section-title{
        font-size: 40px;
    }

    .section-subtitle{
        font-size: 30px;
    }

    .section-intro{
        font-size: 20px;
    }

    #placeholderBox{
        height: 110px;
    }

    #header{
        height: 110px;
        padding: 20px 0;
    }

    #header .logo img{
        max-height: 70px;
    }

    .main-nav{
        display: block;
    }

    .main-nav a{
        padding: 0 25px;
    }

    .mobile-nav{
        display: none;
    }

    .mobile-nav-toggle{
        display: none;
    }

    .main-footer{
        display: block;
    }

    .mobile-footer{
        display: none;
    }

    .btn-prev{
        left: 180px;
    }

    .btn-next{
        right: 180px;
    }
}

@media (max-width: 767px) {
    section{
        padding-top: 1rem;
        padding-bottom: 1rem;
    }

    .section-title{
        font-size: 30px;
    }

    .section-subtitle{
        font-size: 20px;
    }

    .section-intro{
        font-size: 15px;
    }

    #placeholderBox{
        height: 50px;
    }

    #header{
        height: 50px;
        padding: 5px 0;
    }

    #header .logo img{
        max-height: 40px;
    }

    .mobile-nav-toggle i{
        margin: 10px 15px 0 0;
    }

    .btn-prev,
    .btn-next{
        width: 30px;
        height: 30px;
    }

    .btn-prev{
        left: 15px;
    }

    .btn-next{
        right: 15px;
    }

    .btn-prev i,
    .btn-next i{
        font-size: 15px;
    }

    .banner{
        display: none;
    }

    .banner.mobile{
        display: block;
    }
}



#news{
    padding-top: 15px;
}
#news .list{
    border: solid 1px #cccccc;
}
#news  .list .item{
    margin-bottom: 25px;
    border: solid 1px #cccccc;
} 